import { Input } from "antd"
import { FC } from "react"

import { SFormItem } from "@/components/common"
import { useLocale } from "@/locales"

export type IPTypeField = {
	IPTypeCode: string
}
const IPTypeInput: FC<any> = props => {
	const { name = "ip" } = props
	const { formatMessage } = useLocale()
	return (
		<SFormItem name={name}>
			<Input allowClear style={{ width: "150px" }} placeholder={formatMessage({ id: "label.please_enter" })} />
		</SFormItem>
	)
}

export default IPTypeInput
